package com.taoyuanx.api;

import com.alibaba.fastjson.JSONObject;

public interface Api {
	/**测试通信接口
	 * @param param
	 * @return
	 */
	Result hello(JSONObject param);
	
	/**获取token接口
	 * @param param
	 * @return
	 * @throws Exception 
	 */
	Result authToken(JSONObject param) throws Exception;
	
	/**
	 * @param param 
	 * @return token更新接口
	 * @throws Exception
	 */
	Result refreshToken(JSONObject param) throws Exception;
}
